#include "digital_process.h"
#include <random>

Digital_process::Digital_process()
{

}

int Digital_process::get_random_number(int min,int max)
{
    int value=0;
    std::random_device rd;
    std::mt19937 gen(rd());

    std::uniform_int_distribution<> dis(min, max);

    // 获取随机数
    value = dis(gen);
    return value;
}
